gtkwindow: run ::event and specific handlers for EWMH action triggering events
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 16 Sep 2014 19:19:40 +0000 (21:19 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 23 Sep 2014 00:51:24 +0000 (20:51 -0400)
commit6b7b55f9b2b9eb7e05f68e932f9c804cb7ada412
tree7b1d80970fbe9dc5baa758b0e3d19d2756ba11f8
parentf96437317b0d3ae4d9b7ede29b239d3bbead6580
gtkwindow: run ::event and specific handlers for EWMH action triggering events

This gives an opportunity for implementations to handle these events
differently, instead of hardcoding the WM-triggering behavior.

gtk_window_event() only forwards events for WM management if the event
widget is not the window (ie. caught when bubbling), so is safe to be
called here without triggering gtk_window_handle_wm_event() twice.

This commit is an adaption to master of
https://bugzilla.gnome.org/show_bug.cgi?id=736702#c1 by Cosimo Cecchi.
gtk/gtkwindow.c